﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200070B RID: 1803
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetGameStateServiceConfigScRsp : IMessage<GetGameStateServiceConfigScRsp>, IMessage, IEquatable<GetGameStateServiceConfigScRsp>, IDeepCloneable<GetGameStateServiceConfigScRsp>, IBufferMessage
	{
		// Token: 0x17001720 RID: 5920
		// (get) Token: 0x0600512B RID: 20779 RVA: 0x000DC9EB File Offset: 0x000DABEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetGameStateServiceConfigScRsp> Parser
		{
			get
			{
				return GetGameStateServiceConfigScRsp._parser;
			}
		}

		// Token: 0x17001721 RID: 5921
		// (get) Token: 0x0600512C RID: 20780 RVA: 0x000DC9F2 File Offset: 0x000DABF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetGameStateServiceConfigScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001722 RID: 5922
		// (get) Token: 0x0600512D RID: 20781 RVA: 0x000DCA04 File Offset: 0x000DAC04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetGameStateServiceConfigScRsp.Descriptor;
			}
		}

		// Token: 0x0600512E RID: 20782 RVA: 0x000DCA0B File Offset: 0x000DAC0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGameStateServiceConfigScRsp()
		{
		}

		// Token: 0x0600512F RID: 20783 RVA: 0x000DCA34 File Offset: 0x000DAC34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGameStateServiceConfigScRsp(GetGameStateServiceConfigScRsp other) : this()
		{
			this.eEGCPACGOKG_ = other.eEGCPACGOKG_.Clone();
			this.dKGAMCJEKNB_ = other.dKGAMCJEKNB_.Clone();
			this.retcode_ = other.retcode_;
			this.nGKMBHEIOOE_ = other.nGKMBHEIOOE_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005130 RID: 20784 RVA: 0x000DCA97 File Offset: 0x000DAC97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetGameStateServiceConfigScRsp Clone()
		{
			return new GetGameStateServiceConfigScRsp(this);
		}

		// Token: 0x17001723 RID: 5923
		// (get) Token: 0x06005131 RID: 20785 RVA: 0x000DCA9F File Offset: 0x000DAC9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> EEGCPACGOKG
		{
			get
			{
				return this.eEGCPACGOKG_;
			}
		}

		// Token: 0x17001724 RID: 5924
		// (get) Token: 0x06005132 RID: 20786 RVA: 0x000DCAA7 File Offset: 0x000DACA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> DKGAMCJEKNB
		{
			get
			{
				return this.dKGAMCJEKNB_;
			}
		}

		// Token: 0x17001725 RID: 5925
		// (get) Token: 0x06005133 RID: 20787 RVA: 0x000DCAAF File Offset: 0x000DACAF
		// (set) Token: 0x06005134 RID: 20788 RVA: 0x000DCAB7 File Offset: 0x000DACB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001726 RID: 5926
		// (get) Token: 0x06005135 RID: 20789 RVA: 0x000DCAC0 File Offset: 0x000DACC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> NGKMBHEIOOE
		{
			get
			{
				return this.nGKMBHEIOOE_;
			}
		}

		// Token: 0x06005136 RID: 20790 RVA: 0x000DCAC8 File Offset: 0x000DACC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetGameStateServiceConfigScRsp);
		}

		// Token: 0x06005137 RID: 20791 RVA: 0x000DCAD8 File Offset: 0x000DACD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetGameStateServiceConfigScRsp other)
		{
			return other != null && (other == this || (this.eEGCPACGOKG_.Equals(other.eEGCPACGOKG_) && this.dKGAMCJEKNB_.Equals(other.dKGAMCJEKNB_) && this.Retcode == other.Retcode && this.nGKMBHEIOOE_.Equals(other.nGKMBHEIOOE_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005138 RID: 20792 RVA: 0x000DCB50 File Offset: 0x000DAD50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.eEGCPACGOKG_.GetHashCode();
			num ^= this.dKGAMCJEKNB_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.nGKMBHEIOOE_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005139 RID: 20793 RVA: 0x000DCBB9 File Offset: 0x000DADB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600513A RID: 20794 RVA: 0x000DCBC1 File Offset: 0x000DADC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600513B RID: 20795 RVA: 0x000DCBCC File Offset: 0x000DADCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			this.nGKMBHEIOOE_.WriteTo(ref output, GetGameStateServiceConfigScRsp._repeated_nGKMBHEIOOE_codec);
			this.dKGAMCJEKNB_.WriteTo(ref output, GetGameStateServiceConfigScRsp._repeated_dKGAMCJEKNB_codec);
			this.eEGCPACGOKG_.WriteTo(ref output, GetGameStateServiceConfigScRsp._repeated_eEGCPACGOKG_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600513C RID: 20796 RVA: 0x000DCC3C File Offset: 0x000DAE3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.eEGCPACGOKG_.CalculateSize(GetGameStateServiceConfigScRsp._repeated_eEGCPACGOKG_codec);
			num += this.dKGAMCJEKNB_.CalculateSize(GetGameStateServiceConfigScRsp._repeated_dKGAMCJEKNB_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.nGKMBHEIOOE_.CalculateSize(GetGameStateServiceConfigScRsp._repeated_nGKMBHEIOOE_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600513D RID: 20797 RVA: 0x000DCCB4 File Offset: 0x000DAEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetGameStateServiceConfigScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.eEGCPACGOKG_.Add(other.eEGCPACGOKG_);
			this.dKGAMCJEKNB_.Add(other.dKGAMCJEKNB_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.nGKMBHEIOOE_.Add(other.nGKMBHEIOOE_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600513E RID: 20798 RVA: 0x000DCD23 File Offset: 0x000DAF23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600513F RID: 20799 RVA: 0x000DCD2C File Offset: 0x000DAF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num == 8U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 58U)
					{
						this.nGKMBHEIOOE_.AddEntriesFrom(ref input, GetGameStateServiceConfigScRsp._repeated_nGKMBHEIOOE_codec);
						continue;
					}
				}
				else
				{
					if (num == 66U)
					{
						this.dKGAMCJEKNB_.AddEntriesFrom(ref input, GetGameStateServiceConfigScRsp._repeated_dKGAMCJEKNB_codec);
						continue;
					}
					if (num == 98U)
					{
						this.eEGCPACGOKG_.AddEntriesFrom(ref input, GetGameStateServiceConfigScRsp._repeated_eEGCPACGOKG_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001FDB RID: 8155
		private static readonly MessageParser<GetGameStateServiceConfigScRsp> _parser = new MessageParser<GetGameStateServiceConfigScRsp>(() => new GetGameStateServiceConfigScRsp());

		// Token: 0x04001FDC RID: 8156
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001FDD RID: 8157
		public const int EEGCPACGOKGFieldNumber = 12;

		// Token: 0x04001FDE RID: 8158
		private static readonly FieldCodec<string> _repeated_eEGCPACGOKG_codec = FieldCodec.ForString(98U);

		// Token: 0x04001FDF RID: 8159
		private readonly RepeatedField<string> eEGCPACGOKG_ = new RepeatedField<string>();

		// Token: 0x04001FE0 RID: 8160
		public const int DKGAMCJEKNBFieldNumber = 8;

		// Token: 0x04001FE1 RID: 8161
		private static readonly FieldCodec<string> _repeated_dKGAMCJEKNB_codec = FieldCodec.ForString(66U);

		// Token: 0x04001FE2 RID: 8162
		private readonly RepeatedField<string> dKGAMCJEKNB_ = new RepeatedField<string>();

		// Token: 0x04001FE3 RID: 8163
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04001FE4 RID: 8164
		private uint retcode_;

		// Token: 0x04001FE5 RID: 8165
		public const int NGKMBHEIOOEFieldNumber = 7;

		// Token: 0x04001FE6 RID: 8166
		private static readonly FieldCodec<string> _repeated_nGKMBHEIOOE_codec = FieldCodec.ForString(58U);

		// Token: 0x04001FE7 RID: 8167
		private readonly RepeatedField<string> nGKMBHEIOOE_ = new RepeatedField<string>();
	}
}
